package com.jianjian.dao.Impl;

import com.jianjian.dao.BrandDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @author Zsir
 * @create 2021-12-12 16:01
 */
@Repository("BrandDao")
public class BrandDaoImpl implements BrandDao {
    @Value("我是帅哥")
    private String str;
    @Value("${jdbc.driver}")
    private String  driver;

    @Override
    public void life() {
        System.out.println(str);
        System.out.println(driver);
        System.out.println("活着真好");
    }
}
